﻿@using XStudio.XCRF.Data.Entities.CureInfo
@model CureInfo
@{
    ViewBag.Title = "治疗信息历史详情";
    Layout = "~/Views/Shared/Master.cshtml";
}
@{Html.Telerik().Window().Name("CureInfoHisDetailWindow").Title("治疗信息历史详情").HtmlAttributes(new { @class = "ContentLargeWindow" })
    .Buttons(buttons => buttons.Clear())
    .Content(
@<text>
@(Html.ActionLink<CRFController>("返回病例报告详情", c => c.CRFDetail((Guid)Model.CRFID)))<br/>
    <table>
        <tr>
            <th>治疗时间：</th>
            <td>
                @Html.HiddenFor(model => model.ID)
                @Html.HiddenFor(model => model.CRFID)
                @Html.DisplayFor(model => model.Time)
            </td>
        </tr>
    </table>
    @panelBar()
    疗效评估
    @Html.Partial("CureEvaDetail", Model)
</text>
     ).Render();
}

@helper panelBar()
{
      Html.Telerik().PanelBar().ExpandAll(true)
      .Name("CureInfoMenu")
      .HtmlAttributes(new { @class = "ContentWindow" })
      .Items(items =>
      {
          items.Add().Text("主诉")
              .Content(@<text>
              @Html.DisplayFor(model => model.Complaint)
              </text>);
          items.Add().Text("症状")
              .Content(@<text>
              @Html.Partial("SymptomDetail", Model)
              </text>);
          items.Add().Text("体征")
              .Content(@<text>
              @Html.DisplayFor(model => model.VitalSign)
              </text>);
          items.Add().Text("舌象")
            .Content(@<text>
              @Html.Partial("TongueDetail", Model)
              </text>);
          items.Add().Text("脉象")
              .Content(@<text>
              @Html.Partial("PulseDetail", Model)
              </text>);
          items.Add().Text("主证")
              .Content(@<text>
              @Html.DiseaseDisplayFor(model => model.PrimarySyms)
              </text>);
          items.Add().Text("次证")
              .Content(@<text>
              @Html.DiseaseDisplayFor(model => model.SubSyms)
              </text>);
          items.Add().Text("草药")
              .Content(@<text>
              @Html.DisplayFor(model => model.Herbs)
              </text>);
          items.Add().Text("不良反应")
                .Content(@<text>
              @Html.Partial("ReactionDetail", Model)
              </text>);
          items.Add().Text("复发转移情况")
              .Content(@<text>
              @Html.Partial("TransferDetail", Model)
              </text>);
          items.Add().Text("中成药、中药注射液")
              .Content(@<text>
              @Html.DisplayFor(model => model.Injects, "../../CureInfo/InjectList")
              </text>);
          items.Add().Text("化疗")
              .Content(@<text>
              @Html.DisplayFor(model => model.Chemos, "../../CureInfo/CureChemoList")
              </text>);
          items.Add().Text("放疗")
              .Content(@<text>
              @Html.DisplayFor(model => model.Radios, "../../CureInfo/CureRadioList")
              </text>);
          items.Add().Text("超声刀")
              .Content(@<text>
              @Html.DisplayFor(model => model.Sounds, "../../CureInfo/CureSoundList")
              </text>);
          items.Add().Text("伽马刀")
              .Content(@<text>
              @Html.DisplayFor(model => model.Gammas, "../../CureInfo/CureGammaList")
              </text>);
          items.Add().Text("其他治疗")
              .Content(@<text>
              @Html.DisplayFor(model => model.OtherCures, "../../CureInfo/CureOtherCureList")
              </text>);
      }).Render();
}